//
//  JSMessage.h
//  3 -- QQ project
//
//  Created by Rainy Zou on 15/11/24.
//  Copyright © 2015年 Rainy Zou. All rights reserved.
//

typedef enum
{
    JSMessageTypeMe,
    JSMessageTypeOther
}JSMessageType;

#import <Foundation/Foundation.h>

@interface JSMessage : NSObject

@property (nonatomic, copy) NSString *text;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, assign) JSMessageType *type;
@property (nonatomic, assign,getter=isHiddenTime) BOOL hiddenTime;

- (instancetype)initWithDict:(NSDictionary *)dict;

+ (instancetype)messageWithDict:(NSDictionary *)dict;


@end
